﻿<%@ Page Title="Information Management System" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="MyProfile.aspx.cs" Inherits="CARMS.Admin.MyProfile" %>

<%@ Register Src="~/Controls/RequiredMark.ascx" TagName="ReMark" TagPrefix="ucc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script>
    
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <asp:UpdatePanel runat="server">
    <ContentTemplate>
    
        <div style="height:10px"></div>
            <vs:FormPanel RepeatColumns="2" runat="server" ID="fpUserInfo" ColumnSpacing="5">
                <Items>
                    <vs:FormItem HeaderText="User Name">
                        <ContentTemplate>
                            <asp:Label ID="lblLoginName" runat="server" Text='<%#Eval("LoginName") %>'></asp:Label>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem HeaderText="Full Name">
                        <ContentTemplate>
                            <asp:TextBox ID="txtFullName" runat="server" MaxLength="50" Text='<%#Bind("FullName") %>'></asp:TextBox>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem HeaderText="Address" FullRow="true">
                        <ContentTemplate>
                            <asp:TextBox ID="txtAddress" MaxLength="200" runat="server" Width="99%"  
                                Text='<%#Bind("Address") %>'></asp:TextBox>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem HeaderText="Phone">
                        <ContentTemplate>
                            <asp:TextBox ID="txtPhone" MaxLength="50" runat="server" Text='<%#Bind("Tel") %>'></asp:TextBox>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem HeaderText="Mobile">
                        <ContentTemplate>
                            <asp:TextBox ID="txtMobile" runat="server" MaxLength="50" Text='<%#Bind("Mobile") %>'></asp:TextBox>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem HeaderText="Email">
                        <ContentTemplate>
                            <asp:TextBox ID="txtEmail" runat="server" MaxLength="50" Text='<%#Bind("Email") %>'></asp:TextBox>
                        </ContentTemplate>
                    </vs:FormItem>
                    <vs:FormItem FullRow="true" HeaderVisible="false">
                        <ContentStyle HorizontalAlign="Center" />
                        <ContentTemplate>
                            <asp:Button ID="btnSaveChange" Text="Save Changes" runat="server" OnClick="btnSaveChange_Click"
                                SkinID="Button150" Style="margin-top: 6px;" />
                        </ContentTemplate>
                    </vs:FormItem>
                </Items>
            </vs:FormPanel>
 </ContentTemplate>
 </asp:UpdatePanel>
</asp:Content>
